﻿using EcoSystem.Enums;
using System;
using System.ComponentModel.DataAnnotations;
using Volo.Abp.Application.Dtos;

namespace EcoSystem
{
    /// <summary>
    /// 主要用于查询时带查询条件的操作
    /// </summary>
    public class GetFileResourceInput : PagedAndSortedResultRequestDto
    {
        /// <summary>
        /// 资源名称
        /// </summary>
        public string Name { get; set; }

        
        /// <summary>
        /// 资源块名称
        /// </summary>
        public string BucketName { get; set; }

        /// <summary>
        /// 所属目录
        /// </summary>
        public string DirPath { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public Nullable<FileType> Type { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public Nullable<DateTime> StartTime { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public Nullable<DateTime> EndTime { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string Extension { get; set; }
    }
}
